package com.lanou3g.k12.service.impl;

import com.lanou3g.k12.entity.ArticleContent;
import com.lanou3g.k12.mapper.ArticleContentMapper;
import com.lanou3g.k12.service.ArticleContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleContentServiceImpl implements ArticleContentService {


    @Autowired
    ArticleContentMapper articleContentMapper;

    @Override
    public ArticleContent findArticleContentById(Long id) {
       ArticleContent articleContent = articleContentMapper.findArticleContentById(id);
       return null;
    }

    @Override
    public ArticleContent deleteArticleContentById(Long id) {

        articleContentMapper.deleteArticleContentById(id);
        return null;
    }

    @Override
    public void addArticleContent(ArticleContent articleContent) {
        articleContentMapper.addArticleContent(articleContent);
    }


}
